package com.github.xuemingyu.springboot.acticitycloud.service;

import com.bidanet.bdcms.core.vo.Page;
import com.github.xuemingyu.springboot.acticitycloud.entity.SakuraSign;
import com.taobao.api.ApiException;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: xmy
 * \* Date: 2019/1/28
 * \* Time: 13:37
 * \
 */
public interface SakuraSignService extends BaseService<SakuraSign> {
    /**
     * 获取签到列表（樱花节）
     *
     * @param sakuraSign
     * @param page
     */
    void queryLike(SakuraSign sakuraSign, Page<SakuraSign> page,String startTime,String endTime);

    /**
     * 查询所有签到
     * @param sakuraSign
     * @param page
     * @param startTime
     * @param endTime
     */
    void querAll(SakuraSign sakuraSign, Page<SakuraSign> page,String startTime,String endTime);
    /**
     * 樱花节签到
     *
     * @param sakuraSign
     */
    void insert(SakuraSign sakuraSign);

    /**
     * 樱花节签到审核
     *
     * @param ids
     */
    void auditSign(String ids,Long state);

    void delete(Long id);
}
